package com.learn.mqq.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guowenhao
 * @since 2023-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yx_exam_log")
public class YxExamLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 考试id
     */
    @TableField("exam_id")
    private Integer examId;

    /**
     * 试卷id
     */
    @TableField("paper_id")
    private Integer paperId;

    /**
     * 题库id集合
     */
    @TableField("question_ids")
    private String questionIds;

    /**
     * 考试总分数
     */
    @TableField("score")
    private BigDecimal score;

    /**
     * 考试时间
     */
    @TableField("time")
    private Integer time;

    /**
     * 考试日期
     */
    @TableField("create_time")
    private Integer createTime;

    /**
     * 状态:1=进行中,2=已结束
     */
    @TableField("status")
    private Integer status;

    /**
     * 类型:1=模拟,2=正式
     */
    @TableField("type")
    private Boolean type;


}
